{% extends "layout.html" %}

{% block title %}Detail offre fixe du client{% endblock %}

{% block content %}

	
 <fieldset>
    <legend>Détail Offre Fixe pour le client n°{{offres[0].code_client_hto}}: {{client[0].raison_social}}.</legend>
		<table class="table table-striped">			 
			<tr>
            	
                <th>NDI </th> 
                <th> Offre</th>
                 <th>SDA</th>
                  <th>  Souscription </th>
                   <th>  Fin d'engagement </th>
				   <th>  </th>
                  </tr>
{% for offree in offres %}
			<tr>
				
				<td>{{offree.ndi}} </td>
                <td>
                {{offree.offre}}
                </td>
				<td>
                {{offree.sda}}
                
                </td>
				<td>{{offree.date_souscription}}</td>
				<td>{{offree.fin_engagement}}</td>
				<td>
					<div class="btn-group">
					  <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
						Actions
						<span class="caret"></span>
					  </a>
					  <ul class="dropdown-menu">
							<li><a href="detail-offre-client-fixe-modif?id={{offree.code_client_hto}}&action=modif&idd={{offree.id}}&ndi={{offree.ndi}}"><i class="icon-edit"></i> Modification</a></li>
							<li><a href="detail-offre-client-fixe?id={{offree.code_client_hto}}&action=delete&idd={{offree.id}}&ndi={{offree.ndi}}"><i class="icon-trash"></i> Suppression
					  </ul>
					</div>
					</td>
			</tr>
			{% endfor %}
		</table>
          
       

    </fieldset> 
	 <fieldset>
   <div class="form-actions">
					<a href="detail-client?id={{offres[0].code_client_hto}}" class="btn btn btn-primary" ><i class="icon-plus-sign icon-arrow-left icon-white"></i> Retour au detail client</a>
		</div>
 </fieldset>
{% endblock %}
	
